package entities;

import services.impl.StandardOPs;
import java.util.List;
import java.util.LinkedList;
import java.util.ArrayList;
import java.util.Arrays;
import java.time.LocalDate;
import java.io.Serializable;
import java.lang.reflect.Method;

public class Teacher extends User  implements Serializable {
	
	/* all primary attributes */
	private String Introduce;
	
	/* all references */
	private List<Team> TeacherOwnTeam = new LinkedList<Team>(); 
	private List<Daily> TeacherHandleDaily = new LinkedList<Daily>(); 
	private List<Plan> TeacherHandlePlan = new LinkedList<Plan>(); 
	
	/* all get and set functions */
	public String getIntroduce() {
		return Introduce;
	}	
	
	public void setIntroduce(String introduce) {
		this.Introduce = introduce;
	}
	
	/* all functions for reference*/
	public List<Team> getTeacherOwnTeam() {
		return TeacherOwnTeam;
	}	
	
	public void addTeacherOwnTeam(Team team) {
		this.TeacherOwnTeam.add(team);
	}
	
	public void deleteTeacherOwnTeam(Team team) {
		this.TeacherOwnTeam.remove(team);
	}
	public List<Daily> getTeacherHandleDaily() {
		return TeacherHandleDaily;
	}	
	
	public void addTeacherHandleDaily(Daily daily) {
		this.TeacherHandleDaily.add(daily);
	}
	
	public void deleteTeacherHandleDaily(Daily daily) {
		this.TeacherHandleDaily.remove(daily);
	}
	public List<Plan> getTeacherHandlePlan() {
		return TeacherHandlePlan;
	}	
	
	public void addTeacherHandlePlan(Plan plan) {
		this.TeacherHandlePlan.add(plan);
	}
	
	public void deleteTeacherHandlePlan(Plan plan) {
		this.TeacherHandlePlan.remove(plan);
	}
	


}
